# -*- encoding:utf-8 -*-
import service.sharerank.srcrunner as runner
import datetime
import utils.CookieUtils as cu

__author__ = 'shudong.msd'

cu.init_cookie()

filepath = u'G:/毕业设计/数据/排行榜/'+str(datetime.date.today())+'.xls'

# print runner.writeToExcel(filepath)

# print runner.writeToDB()

# print runner.writeToDB_hot_asc()

# print runner.updateDB()

print len(runner.test_get_page())

print "ok!!!"
